package com.ruoyi.nucleicacid.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 小区管理对象 nc-cell
 * 
 * @author ruoyi
 * @date 2022-10-04
 */
public class Cell extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 小区 */
    @Excel(name = "小区")
    private String cellname;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 小区管理员 */
    @Excel(name = "小区管理员")
    private Long administratorsid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCellname(String cellname) 
    {
        this.cellname = cellname;
    }

    public String getCellname() 
    {
        return cellname;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAdministratorsid(Long administratorsid) 
    {
        this.administratorsid = administratorsid;
    }

    public Long getAdministratorsid() 
    {
        return administratorsid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cellname", getCellname())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("administratorsid", getAdministratorsid())
            .toString();
    }
}
